abstract class Animal14{
    abstract void shout();
}
class Cat extends Animal{
    void shout(){
        System.out.println("喵~~~喵~~~喵~~~");
    }
}
class Dog14 extends Animal {
    void shout() {
        System.out.println("汪汪汪······");
    }
}

public class Example14 {
    public static void main(String[] args) {
        Animal cat= new Cat();
        Animal dog= new Dog14();
        cat.shout();
        dog.shout();
    }
}

